From a6c640a074c0d1bad8aa5bca172b9173e52624ff Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 11 Feb 2009 16:31:47 +0000 Subject: [PATCH] Move the _GtkVolumeButton definition into the header to make it possible * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition into the header to make it possible to derive from GtkVoumeButton. Reported by Chris Lord. svn path=/trunk/; revision=22315 --- ChangeLog | 8 ++++++++ gtk/gtkvolumebutton.c | 4 ---- gtk/gtkvolumebutton.h | 5 +++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6e97543e9a..3d011fa98d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-11 Matthias Clasen + + Bug 508545 – No way to identify terminal classes from documentation + + * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition + into the header to make it possible to derive from GtkVoumeButton. + Reported by Chris Lord. + 2009-02-11 Matthias Clasen Bug 571196 – gtk_binding_entry_add_signall deprecated without diff --git a/gtk/gtkvolumebutton.c b/gtk/gtkvolumebutton.c index af27691b76..0ea6a99819 100644 --- a/gtk/gtkvolumebutton.c +++ b/gtk/gtkvolumebutton.c @@ -38,10 +38,6 @@ #define EPSILON (1e-10) -struct _GtkVolumeButton -{ - GtkScaleButton parent; -}; static gboolean cb_query_tooltip (GtkWidget *button, gint x, diff --git a/gtk/gtkvolumebutton.h b/gtk/gtkvolumebutton.h index c69724fe11..6084e983b2 100644 --- a/gtk/gtkvolumebutton.h +++ b/gtk/gtkvolumebutton.h @@ -48,6 +48,11 @@ G_BEGIN_DECLS typedef struct _GtkVolumeButton GtkVolumeButton; typedef struct _GtkVolumeButtonClass GtkVolumeButtonClass; +struct _GtkVolumeButton +{ + GtkScaleButton parent; +}; + struct _GtkVolumeButtonClass { GtkScaleButtonClass parent_class; -- 2.30.2